package com.kly.sc.api.application.controller.config.request;

import com.fqgj.common.api.ParamsObject;
import com.kly.sc.api.infras.exception.ApplicationException;

/**
 * @author linqu
 */
public class IosConfigRequest extends ParamsObject {

    /**
     * 需要的配置参数码
     */
    private Integer type;

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    @Override
    public void validate() {
        if (type == null) {
            throw new ApplicationException("Parameter [type] should not be empty");
        }
    }
}
